/**
 * 
 */
package org.cnbi.utils.pojo.indicator;

import java.io.Serializable;
import java.math.BigDecimal;

import org.codehaus.jackson.annotate.JsonWriteNullProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 * Copyright © 2014中国经邦. All rights reserved.
 * @author 龚佳新
 * @date 2014年5月8日上午11:00:15
 * @cnbi-utils
 */
public class IndicatorParamsBean implements Serializable,Cloneable {
	
	private int id;
	
	private String name;
	
	@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
	private String exp;
	
	@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
	private BigDecimal datas;
	
	public IndicatorParamsBean(){}
	
	

	/**
	 * @param id
	 * @param name
	 */
	public IndicatorParamsBean(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}



	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the exp
	 */
	public String getExp() {
		return exp;
	}

	/**
	 * @param exp the exp to set
	 */
	public void setExp(String exp) {
		this.exp = exp;
	}

	
	

	/**
	 * @return the datas
	 */
	public BigDecimal getDatas() {
		return datas;
	}

	/**
	 * @param datas the datas to set
	 */
	public void setDatas(BigDecimal datas) {
		this.datas = datas;
	}

	

	
	/* 
	 * @data 2014年5月28日  复写的方法
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return super.toString();
	}

	@Override
	public Object clone() {
		IndicatorParamsBean params = null;
		try {
			params = (IndicatorParamsBean) super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return params;
	}
	

}
